package quiz;

import java.util.ArrayList;

public class Utilities {
	public static ArrayList<Answer> getCorrectAnswers(ArrayList<Answer> possibilities) {
		ArrayList<Answer> correctList = new ArrayList<Answer>();
		for(Answer a: possibilities) {
			if (a.isCorrect()) correctList.add(a);
		}
		return correctList;
	}
}
